package info.empathymobile.monitor.receivers;

import info.empathymobile.monitor.EmpathyMonitorController;
import info.empathymobile.monitor.business.beans.MonitorEntry;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class ConnectivityReceiver extends BroadcastReceiver {
	
	@Override
	public void onReceive(Context context, Intent intent) {
		new EmpathyMonitorController(context).initAsyncEmpathyMonitorScan(MonitorEntry.CONNECTIVITY_ENTRY_LOG_CLASS, -1);
	}
}
